/********************************************************************
    Copyright (c) 2013-2015 - Mogara

    This file is part of QSanguosha-Hegemony.

    This game is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
    published by the Free Software Foundation; either version 3.0
    of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    General Public License for more details.

    See the LICENSE file for more details.

    Mogara
    *********************************************************************/

{
"common":
{
    "cardNormalWidth": 93,
    "cardNormalHeight": 130,
    "cardMainArea": [0, 0, 93, 130],
    "cardFrameArea": [-5, -5, 98, 135],
    "cardSuitArea": [3, 19, 21, 17],
    "cardNumberArea": [0, 2, 27, 28],
    "cardTransferableIconArea": [58, 95, 35, 35],
    "cardFootnoteArea": [0, 70, 93, 50],
    "cardAvatarArea": [46, 83, 40, 40],
    "cardFootnoteFont": ["RobotoCondensed", [4, 4, 3], 0, [255, 255, 255, 255], 1, 10, [0, 0], [20, 20, 20, 255]],
    "chooseGeneralBoxSwitchIconSizeThreshold": 12,
    "chooseGeneralBoxSwitchIconEachRow": 6,
    "chooseGeneralBoxSwitchIconEachRowForTooManyGenerals": 7,
    "chooseGeneralBoxNoIconThreshold": 21,
    "chooseGeneralBoxSparseIconSize": [171, 240],
    "chooseGeneralBoxDenseIconSize": [130, 130],
    "tinyAvatarSize": [40, 40],
    // When hp exceeds 5, we use text (e.g. 5/8) instead of drawing more than 5 magatamas. The color
    // and font are specified below.
    // All the font in skin file takes the following format:
    // simple font: ["fontName", fontSize, fontWeight(bold), foreColor(rgba)]
    // shawdow font: ["fontName", fontSize, fontWeight(bold), foreColor(rgba), shadowRadius,
    //                shadowDecadeFactor, shadowOffset, shadowDeepestColor]
    // the shadow radius is the width of shadow on each end; the shadow decade factor specifies how
    // fast shadow will disappear; specifying a shadow radius of 5 but decade factor of 0 is equivalent
    // to specify a solid border of width 5.
    // @todo: adjust these colors!
    "magatamaFont": [
        ["Arial", [15, 15, -2], 80, [233, 0, 0, 255], 2, 10, [0, 0], [20, 20, 20, 155]],
        ["Arial", [15, 15, -2], 80, [233, 34, 34, 255], 2, 10, [0, 0], [20, 20, 20, 155]],
        ["Arial", [15, 15, -2], 80, [233, 116, 34, 255], 2, 10, [0, 0], [20, 20, 20, 155]],
        ["Arial", [15, 15, -2], 80, [195, 195, 34, 255], 2, 10, [0, 0], [20, 20, 20, 155]],
        ["Arial", [15, 15, -2], 80, [141, 195, 34, 255], 2, 10, [0, 0], [20, 20, 20, 155]],
        ["Arial", [15, 15, -2], 80, [66, 174, 34, 255], 2, 10, [0, 0], [20, 20, 20, 155]]
    ],
    // I realized that some MOD might need a wider background area than the foreground magatamas in order
    // to draw certain effect. The following factor specifies the number of invisible magatama to be appended.
    "hpExtraSpaceHolder": 0,

    "roleNormalBgSize": [46, 47],
    "roleBoxRect-wei": [3, 3, 19, 19],
    "roleBoxRect-qun": [23, 3, 19, 19],
    "roleBoxRect-shu": [3, 23, 19, 19],
    "roleBoxRect-wu": [23, 23, 19, 19],
    "roleBoxColor-wei": [39, 121, 170],
    "roleBoxColor-qun": [195, 177, 84],
    "roleBoxColor-shu": [172, 49, 32],
    "roleBoxColor-wu": [85, 164, 52],
    "roleDarkColor": [125, 125, 126] ,

    "graphicsBoxBgColor": [0, 0, 0, 220],
    "graphicsBoxBorderColor": [166, 150, 122],
    "graphicsBoxTitleFont": ["wqy-microhei", 16, 2, [228, 213, 160]],

    "generalBoxDestSeatFont": ["RobotoCondensed", 12, 2, [105, 103, 91]],

    "generalCardItemCompanionPromptRegion": [-1, 102, 95, 15],

    "optionButtonText": ["RobotoCondensed", [18, 18, 0], 0, [255, 255, 255, 255], 1, 10, [0, 0], [50, 50, 50, 200]],
    "generalButtonPositionIconRegion": [-1, 2, 29, 24],
    "generalButtonNameRegion": [26, 0, 60, 23],

    "playerCardBoxPlaceNameText": ["@wqy-microhei", 16, 2, [228, 213, 160]],

	"skinItemTitleText": ["RobotoCondensed", [14, 14, 0], 0, [255, 255, 255, 255], 1, 10, [0, 0], [50, 50, 50, 200]]
},
"room":
{
    "scenePadding": 0,
    "roleBoxHeight": 60,
    "chatTextBoxHeight": 35,
    "logBoxHeightPercentage": 0.6,
    "chatBoxHeightPercentage": 0.4,
    "infoPlaneWidthPercentage": 0.2,
    "photoRoomPadding": 10,
    "photoDashboardPadding": 40,
    "photoHDistance": 32,
    "photoVDistance": 32,
    "discardPileMinWidth": 465,
    "discardPilePadding": 50,
    "minimumSceneSize": [1130, 650], // if smaller than this size, switch to compact skin
    //make sure that default skin's minimum scene size is smaller than maximum scene size in compact skin to avoid deadloop!!!
    "minimumSceneSize-10player": [1050, 800]
},
"photo":
{
    "normalWidth": 157,
    "normalHeight": 181,
    "mainFrameArea": [0, 0, 157, 181],
    "canvasArea": [0, 0, 157, 181],
    "handCardNumIconArea": [-8, 104, 30, 18],
    "handCardFont": ["Arial", [12, 12, -1], 20, [255, 255, 255, 255], 1, 30, [0, 0], [20, 20, 20, 200]],
    "equipAreas": [[1, 120, 150, 21], [1, 134, 150, 21], [1, 148, 75, 21], [70, 148, 75, 21], [1, 162, 150, 21]],
    "equipImageArea": [0, 1, 140, 19],
    "equipSuitArea": [117, 2, 21, 17],
    "equipPointArea": [106, -4, 25, 25],
    "horseImageArea": [0, 1, 70, 19],
    "horseSuitArea": [48, 2, 21, 17],
    "horsePointArea": [37, -4, 25, 25],
    "equipPointFont": ["arial", [13, 13, 3], 20, [0, 0, 0, 255], 1, 1, [0, 0], [255, 255, 190, 128]],
    "delayedTrickFirstRegion": [-13, 16, 28, 28],
    "delayedTrickStep": [0, 19],
    "roleComboBoxPos": [130, 1],
    "borderWidth": 15,
    "avatarImageType": 1,
    "secondaryAvatarImageType": 4,
    "primaryAvatarImageType": 6,
    "circleImageType": 0,
    "avatarArea": [1, 1, 155, 179],
    "secondaryAvatarArea": [78, 1, 77, 179],
    "circleArea": [1, 1, 155, 179],
    "avatarNameArea": [3, 23, 40, 60],
    "avatarNameFont": ["RobotoCondensed", [18, 18, 0], 0, [255, 255, 255, 255], 2, 1, [0, 0], [50, 50, 50, 200]],
    "secondaryAvatarNameArea": [78, 23, 40, 60],
    "smallAvatarNameFont": ["RobotoCondensed", [18, 18, 0], 0, [255, 255, 255, 255], 2, 1, [0, 0], [50, 50, 50, 200]],
    "kingdomIconArea": [2, -1, 28, 28],
    //"kingdomMaskArea": [-2, 14, 36, 98],
    "screenNameArea": [0, 0, 157, 15],
    "screenNameFont": ["RobotoCondensed", 12, 0, [255, 255, 255, 255], 0, 10, [0, 0], [20, 20, 20, 155]],
    "magatamasHorizontal": false,
    "magatamaSize": [18, 17],
    "magatamaImageArea": [1, 1, 17, 17],
    "magatamasBgVisible": true,
    "magatamasAnchor": ["bottomRight", [156, 178]],
    "cardMoveArea": [-15, 35, 200, 130],
    "phaseArea": [25, 176, 140, 12],
    "onlineStatusArea": [122, 24, 30, 25],
    "onlineStatusBgColor": [0, 0, 0, 0],
    "onlineStatusFont": ["RobotoCondensed",12, 0, [255, 255, 255, 255], 3, 10, [0, 0], [20, 20, 20, 155]],
    "skillNameArea": [15, 30, 300, 80],
    "skillNameFont": ["UTMThuPhap", 25, 0, [255, 255, 255, 255], 2, 20, [0, 0], [255, 20, 255, 128]],
    "progressBarArea": ["topLeft", "bottomLeft", [0, 8], [160, 10]],
    "progressBarHorizontal": true,
    "privatePileStartPos": [27, 18],
    "privatePileStep": [0, 16],
    "privatePileButtonSize": [75, 16],
    "actionedIconRegion": [100, 78, 52, 21],
    "saveMeIconRegion": [25, 46, 122, 50],
    "votesIconRegion": [53, 66, 50, 50],
    "chainedIconRegion": [0, 85, 156, 19],
    "duanchangMaskRegion": [1, 1, 77, 179],
    "duanchangMaskRegion2": [78, 1, 77, 179],
    "deathIconRegion": [0, 50, 157, 102],
    "drankMaskColor": [250, 0, 0, 115],
    "deathEffectColor": [50, 50, 50, 255],
    "extraSkillArea": [32, 96, 56, 20],
    "extraSkillFont": ["SimLi", [16, 16, 3], 0, [255, 255, 255, 255], 2, 100, [0, 0], [102, 16, 120, 255]],
    "extraSkillTextArea": [32, 93, 56, 20],
    "seatIconRegion": [4, 1, 23, 16],
    "leftDisableShowLockArea": [16, 59, 50, 61],
    "rightDisableShowLockArea": [93, 59, 50, 61]
},
"dashboard":
{
    "leftWidth": 164,
    "rightWidth": 282,
    "magatamasBaseWidth": 24,
    "reverseSelectionWidth": 10,
    "normalHeight": 150,
    "floatingAreaHeight": 50,
    "handCardNumIconArea": [-126, 126, 30, 18],
    "handCardFont": ["Arial", [12, 12, -1], 20, [255, 255, 255, 255], 1, 30, [0, 0], [20, 20, 20, 200]],
    "equipAreas": [[6, 12, 145, 22], [6, 41, 145, 22], [6, 70, 145, 22], [6, 99, 145, 22], [6, 128, 145, 22]],
    "equipBorderPos": [-6, -5],
    "equipSelectedOffset": [10, 0],
    "equipImageArea": [0, 0, 145, 22],
    "equipSuitArea": [126, 5, 21, 17],
    "equipPointArea": [115, -5, 30, 30],
    "horseImageArea": [0, 0, 149, 25],
    "horseSuitArea": [128, 5, 21, 17],
    "horsePointArea": [117, -5, 30, 30],
    "equipPointFont": ["arial", [14, 14, 3], 20, [0, 0, 0, 255], 1, 0, [0, 0], [240, 240, 240, 200]],
    "delayedTrickFirstRegion": [155, -11, 28, 28],
    "delayedTrickStep": [28, 0],
    // the width of the region to disperse cards when the cards are to be moved to the special pile.
    "disperseWidth": 250,
    "markTextArea": [0, 0, 50, 50],
    "roleComboBoxPos": [-32, 4],
    "borderWidth": 6,
    "avatarImageType": 2,
    "secondaryAvatarImageType": 2,
    "primaryAvatarImageType": 2,
    "circleImageType": 1,
    "secondaryAvatarArea": [129, -3, 128, 153],
    "circleArea": [8, 10, 134, 134],
    "avatarNameArea": [26, -10, 60, 30],
    "focusFrameArea": [0, -3, 128, 153],
    "focusFrameArea2": [129, -3, 128, 153],
    "secondaryAvatarNameArea": [154, -10, 60, 30],
    "avatarNameFont": ["RobotoCondensed", [25, 16, 0], 50, [255, 255, 255, 255], 1, 10, [0, 0], [50, 50, 50, 200]],
    "smallAvatarNameFont": ["RobotoCondensed", [16, 16, 0], 50, [255, 255, 255, 255], 1, 10, [0, 0], [50, 50, 50, 200]],
    "headIconRegion": [0, -5, 29, 24],
    "deputyIconRegion": [128, -5, 29, 24],
    // must be in one of the following format:
    // [offsetX, offestY, sizeX, sizeY]
    // [childAnchor, parentAnchor, [offsetX, offsetY]]
    // [childAnchor, parentAnchor, [offsetX, offsetY], [sizeX, sizeY]]
    // if childAnchor and/or parentAnchor are not set, then area will be aligned using top left corner of both child and parent
    // otherwise, the corner of child specified by "childAnchor" will first be aligned to that of parent specified by "parentAnchor",
    // and offset if applied after the alignment is done. When the 4th parameter [sizeX, sizeY] is specified, fixed size of the area
    // is used; otherwise, it means area's size is variable with the content of that area, the program will adjust the size automatically
    "markTextArea": ["bottomRight", "bottomRight",  [-10, -10]],
    "phaseArea": ["bottomRight", "bottomRight", [-100, 0], [209, 20]],
    "kingdomIconArea": [2, 2, 28, 28],
    "kingdomMaskArea": [2, -1, 87, 18],
    "kingdomMaskArea2": [130, -1, 87, 18],
    "screenNameArea": [0, 7, 157, 25],
    "screenNameFont": ["RobotoCondensed", 12, 0, [255, 255, 255, 255], 2, 10, [0, 0], [0, 0, 0, 224]],
    "magatamasHorizontal": false,
    "magatamaSize": [23, 23],
    "magatamaImageArea": [0, 3, 22, 22],
    "magatamasBgVisible": false,
    "magatamasAnchor": ["bottomRight", [281, 146]],
    "cardMoveArea": [-50, 65, 200, 130],
    "progressBarArea": ["bottomCenter", "bottomCenter", [-8, 0], [300, 18]],
    "progressBarHorizontal": true,
    "privatePileStartPos": [10, 30],
    "privatePileStep": [0, 16],
    "privatePileButtonSize": [75, 16],
    "actionedIconRegion": [80, 37, 52, 21],
    "saveMeIconRegion": [5, 15, 122, 50],
    "votesIconRegion": [50, 52, 50, 50],
    "chainedIconRegion": [119, 77, 138, 19],
    "deathIconRegion": ["center", "center", [0, 0], [157, 102]],
    "drankMaskColor": [250, 0, 0, 115],
    "duanchangMaskColor": [255, 255, 255, 128],
    "buttonSetSize": [106, 150],
    "confirmButtonArea": [8, 3, 100, 160],
    "cancelButtonArea": [8, 80, 72, 97],
    "discardButtonArea": [70, 38, 33, 130],
    "trustButtonArea": [69, 136, 36, 35],
    "trustEffectColor": [38, 26, 66],
    "generalShadowColor": [0, 0, 0, 180],
    "hiddenMarkRegion": [4, -3, 124, 146],
    "hiddenMarkRegion2": [132, -3, 124, 146],
    "seatIconRegion": [-32, 118, 30, 30],
    "leftDisableShowLockArea": [15, 9, 100, 122],
    "rightDisableShowLockArea": [144, 9, 100, 122],
	"changeHeadHeroSkinBtnPos": [20, 20],
	"changeDeputyHeroSkinBtnPos": [150, 20]
},
"skillButton":
{
    "height": 26,
    "width": [120, 58, 45],
    "textArea": [[13, 2, 112, 20], [16, 2, 44, 20], [9, 2, 40, 20]],
    "textAreaDown": [[14, 3, 112, 20], [17, 3, 44, 20], [10, 3, 40, 20]],
    "textFont": [["RobotoCondensed", [13, 13, 2], 20, [0, 0, 0, 255], 1, 1, [0, 0], [255, 255, 190, 128]],  // wide
                ["RobotoCondensed", [13, 13, 1], 20, [0, 0, 0, 255], 1, 1, [0, 0], [255, 255, 190, 128]],  // medium
                ["RobotoCondensed", [13, 13, 0], 20, [0, 0, 0, 255], 1, 1, [0, 0], [255, 255, 190, 128]]],  // narrow

    // The following settings override the text color defined above
    // xxButtonColor = [normalColor, downColor, disabledColor, hoverColor]
    "arrayFontColor": [[[255, 255, 255, 255], [0, 0, 0, 120]], // normalColor = [penColor, shadowColor]
                        [[255, 255, 255, 255], [0, 0, 0, 120]], // downColor = [penColor, shadowColor]
                        [[255, 255, 255, 255], [0, 0, 0, 120]], // disableColor = [penColor, shadowColor]
                        [[255, 255, 255, 255], [0, 0, 0, 120]], // hoverColor = [penColor, shadowColor]
                        [[255, 255, 255, 255], [0, 0, 0, 120]]], // preshowColor = [penColor, shadowColor]
    "compulsoryFontColor": [[[255, 255, 255, 255], [0, 0, 0, 120]],
                            [[255, 255, 255, 255], [0, 0, 0, 120]],
                            [[255, 255, 255, 255], [0, 0, 0, 120]],
                            [[255, 255, 255, 255], [0, 0, 0, 120]],
                            [[255, 255, 255, 255], [0, 0, 0, 120]]],
    "oneoffFontColor": [[[255, 255, 255, 255], [0, 0, 0, 120]],
                        [[255, 255, 255, 255], [0, 0, 0, 120]],
                        [[255, 255, 255, 255], [0, 0, 0, 120]],
                        [[255, 255, 255, 255], [0, 0, 0, 120]],
                        [[255, 255, 255, 255], [0, 0, 0, 120]]],
    "proactiveFontColor": [[[255, 255, 255, 255], [0, 0, 0, 120]],
                        [[255, 255, 255, 255], [0, 0, 0, 120]],
                        [[255, 255, 255, 255], [0, 0, 0, 120]],
                        [[255, 255, 255, 255], [0, 0, 0, 120]],
                        [[255, 255, 255, 255], [0, 0, 0, 120]]]
}
}
